package net.wanho.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "server")
public class SystemProperties {
    private String port;

    private Servlet servlet;

    private String localhost;

    @Data
    public static class Servlet {
        private String contextPath;
    }

}
